@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  html {
    scroll-behavior: smooth;
  }
  
  body {
    @apply bg-gray-50 text-gray-900;
  }
}

@layer components {
  .btn-primary {
    @apply bg-primary-600 hover:bg-primary-700 text-white font-medium py-2 px-4 rounded-lg transition-colors duration-200;
  }
  
  .btn-secondary {
    @apply bg-gray-200 hover:bg-gray-300 text-gray-800 font-medium py-2 px-4 rounded-lg transition-colors duration-200;
  }
  
  .card {
    @apply bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden;
  }
  
  .prose {
    @apply max-w-none;
  }
  
  .prose h1 {
    @apply text-3xl font-bold text-gray-900 mb-6;
  }
  
  .prose h2 {
    @apply text-2xl font-semibold text-gray-900 mb-4 mt-8;
  }
  
  .prose h3 {
    @apply text-xl font-semibold text-gray-900 mb-3 mt-6;
  }
  
  .prose p {
    @apply text-gray-700 leading-relaxed mb-4;
  }
  
  .prose a {
    @apply text-primary-600 hover:text-primary-700 underline;
  }
  
  .prose blockquote {
    @apply border-l-4 border-primary-200 pl-4 italic text-gray-600;
  }
  
  .prose code {
    @apply bg-gray-100 text-gray-800 px-2 py-1 rounded text-sm;
  }
  
  .prose pre {
    @apply bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto;
  }
}
